package com.fhz.day012hilt;

import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;

/**
 * 时间:2022/5/30
 *
 * @author msfeng
 * 简述: TODO
 */
@Module
@InstallIn(ActivityComponent.class)
public class UserMoudle {

    @Provides
    @Xiao
    public User getUser(){
        return new User("小明");
    }
}
